projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c7aa96
)
* keyboard.c (parse_modifiers_uncached): Simpler fix.
author
Paul Eggert
<eggert@cs.ucla.edu>
Mon, 24 Oct 2011 03:05:21 +0000
(20:05 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Mon, 24 Oct 2011 03:05:21 +0000
(20:05 -0700)
src/keyboard.c
patch
|
blob
|
history
diff --git
a/src/keyboard.c
b/src/keyboard.c
index 7c199b3ae14e136a0f6741ea75941047dd34473d..3ff0e82440b03551041c497d33e165c013ece62a 100644
(file)
--- a/
src/keyboard.c
+++ b/
src/keyboard.c
@@
-6057,7
+6057,7
@@
parse_modifiers_uncached (Lisp_Object symbol, ptrdiff_t *modifier_end)
modifiers = 0;
name = SYMBOL_NAME (symbol);
- for (i = 0;
2 <= SBYTES (name) - i
; )
+ for (i = 0;
i < SBYTES (name) - 1
; )
{
ptrdiff_t this_mod_end = 0;
int this_mod = 0;